package net.jiastudy.biz.project.entity;

import java.util.List;

import javax.validation.constraints.NotEmpty;

import com.baomidou.mybatisplus.annotations.TableField;

import net.jiastudy.biz.user.entity.User;
import net.jiastudy.core.base.BaseEntity;

public class DeptProjectWork extends BaseEntity<DeptProjectWork> {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Long projectId;
	private String userIds;
	@NotEmpty(message = "工作名称不能为空")
	private String name;
	private String source;
	private String startDate;
	private String endDate;
	private Integer seq;
	
	@TableField(exist = false)
	private List<User> users;
	
	public List<User> getUsers() {
		return users;
	}
	public void setUsers(List<User> users) {
		this.users = users;
	}
	public Long getProjectId() {
		return projectId;
	}
	public void setProjectId(Long projectId) {
		this.projectId = projectId;
	}
	public String getUserIds() {
		return userIds;
	}
	public void setUserIds(String userIds) {
		this.userIds = userIds;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getSource() {
		return source;
	}
	public void setSource(String source) {
		this.source = source;
	}
	public String getStartDate() {
		return startDate;
	}
	public void setStartDate(String startDate) {
		this.startDate = startDate;
	}
	public String getEndDate() {
		return endDate;
	}
	public void setEndDate(String endDate) {
		this.endDate = endDate;
	}
	public Integer getSeq() {
		return seq;
	}
	public void setSeq(Integer seq) {
		this.seq = seq;
	}
}
